implement disconnect, fix ended multiplayer game