If some work items take a lot of processing time and the cursor of a bundle is not queried for too long, then mongodb will timeout the cursor which results in
pymongo.errors.CursorNotFound: cursor id ... not found
Imported from Jira BEAM-10002. Original Jira may contain additional context.
Reported by: corvin.