Converted the pymongo find object into a list to avoid connection timeouts.