Refactoring connect and reconnect