Added code to handle the case when a client disconnects and reconnects.
What should we do when the games are finished and the client disconnects?