Maybe your cursor timed out on the server. To see if this is the problem, try to set timeout=False`:
for doc in coll.find(timeout=False)
See http://api.mongodb.org/python/1.6/api/pymongo/collection.html#pymongo.collection.Collection.find
If it was a timeout problem one possible solution is to set the batch_size (s. other answers).