Shutdown JDBC and ConnectionsPool properly