https://github.com/mongodb-labs/mongosh-snippets/tree/main/snippets/resumetoken
see https://docs.google.com/document/d/1BWElA2_AUH5Wupjnr1igYMZflQTRmuszoNh2T6NAqwY/edit#heading=h.qo3bo0olv6a4