ConnectionPool.close takes a callback