Games that end with win, lose or draw now close down all the threads and sockets correctly. Recreating the game (without restarting the program) now works