Fix bug where client doesn't rejoin a room when disconnecting and reconnecting.