Fixed a race condition where if 2 people arrive at a room at exactly the same time they will both be given different sessionIds.