Make use of quiz type's 'quiz_remove_partial_quiz_record' config.