python读取mongodb游标id寻找不到

python中连接mongodb,读取数据量大的表
读取到一定数量就会报错
pymongo.errors.CursorNotFound: cursor id 427009816811862655 not found, full error: {u'code': 43, u'ok': 0.0, u'$clusterTime': {u'clusterTime': Timestamp(1683860018, 8), u'signature': {u'keyId': 7194122275803627522L, u'hash': Binary('\xdb\x81\x8b\x88\xd2\x7f\xd7\xe8\x8e\xb6\xf5x\xce\xf7\xcc\xc0\x88\xe9\x85$', 0)}}, u'codeName': u'CursorNotFound', u'operationTime': Timestamp(1683860018, 8), u'errmsg': u'cursor id 427009816811862655 not found'}
其中读取的部分代码如下
xMon1 = MONGO_SERVER_CONNECTION.find({}, {'_id': 0}).batch_size(100)
由此去循环读取其中的数据,但是还是会报错游标的id寻找不到