bugfix for JDBC connections with asymmetrical acquire / close