fix quit game durign linger mode

this prevents an assertion error.