QuitCommand now properly closes the connection and the client can connect to a new server.