Avoid error when trying to leave while not joined to a room