Added ability to disconnect seamlessly when you can't find a connection.