Close the socket when starting new game