if we remove the connection from the pool, we should close it