Simplify a method in the connection manager