I use amazon cloud server, with rds multi-AZ. I'm using pooled connection, but it doesn't reconnect as expected.  I restarted RDS machine, and it started fail-over to other multi-AZ. But at that point, connection was lost and not recovered well. I'm just using pool.query() which don't have connection release leak. It must work as expected isn't it?