Couldn't you have that more easily by simply extending the session timeout period?
Quiz
What happens if a session times out in the middle of a quiz?
This discussion has been locked so you can no longer reply to it.