working on race conditions issue in joining game