closes the reader after the game is done