connection pool lock