Included checkConnectionWhileIdle to validate DB connections. Avoids
serving stale connections to app