Avoid relocking pool if the connection is valid