Close the document to see if there's an assertion failure.