changes to ConnectionPool.java