A script that opens a document and then throws, runs out of budget or is
abandoned loses that document with its working copy, so its waiting
document.opened event is now dropped when the run ends. The saves it made
before failing are still delivered, and so is a document the frontend opened
while the run was paused.