close
Releases this document's coroutine scope and dispatcher.
For a document attached through a dev.yorkie.core.Client.Options.docStore, close it only after it has been detached (or after the client has been deactivated or closed): a persist still queued for this document takes its snapshot on this dispatcher, so closing the document first forfeits that snapshot (logged, never thrown).