Close the connection on game over