Update Multiplayer mode

Fix issue regarding closing when playing multiplayer mode.