Logout on lost connection.