Closes the socket after a game is found

So there can be started a game after another