samples/games/scrabble: Fixed hang on exit