Fix call to client in onConnectionLost