Facing issue on mongodb connection (intermittent)

My App is running in cron and some times shows in log this error:
Has anyone faced this issue.The metioned file is available in node_modules also
Error: Cannot find module ‘./…/document’\nRequire stack:\n-
/home/ubuntu/mint/node_modules/mongoose/lib/schema/objectid.js\n-
/home/ubuntu/mint/node_modules/mongoose/lib/schema/index.js\n-
/home/ubuntu/mint/node_modules/mongoose/lib/schema.js\n-
/home/ubuntu/mint/node_modules/mongoose/lib/document.js\n-
/home/ubuntu/mint/node_modules/mongoose/lib/index.js\n-
/home/ubuntu/mint/node_modules/mongoose/index.js\n-
/home/ubuntu/mint/src/database/connection.js\n-
/home/ubuntu/mint/src/database/index.js\n-
/home/ubuntu/mint/src/index.js"