prepare code for situation when clients disconnects from the game