handle errors resulting from documents that are closed before we ask about them