Is Closing the project an option when failed? The action 'Exit' is available for ' Failing Grade' in the Quiz Preferences. This action will be executed when the user clicks on the Continue button on the score slide, so make him click that button (you can rename it).
Lilybiri