Refactor establish_connection method on ConnectionHandler class.
Refactor pool_for method on ConnectionHandler class.
Refactor retrieve_connection method on ConnectionHandler class.