I haven't been able to find a way to abort the loading of a document when `getDocument(url)` is used. What's the best way to do this?