Topology was destroyed

MongoError: Topology was destroyed
    at nextFunction (/var/www/html/node_modules/mongodb-core/lib/cursor.js:547:27)
    at Cursor.next [as _next] (/var/www/html/node_modules/mongodb-core/lib/cursor.js:701:3)
    at nextObject (/var/www/html/node_modules/mongodb/lib/cursor.js:680:8)
    at Cursor.next (/var/www/html/node_modules/mongodb/lib/cursor.js:270:12)
    at findOne (/var/www/html/node_modules/mongodb/lib/collection.js:1414:10)
    at /var/www/html/node_modules/mongodb/lib/collection.js:1404:5
    at new Promise (<anonymous>)
    at Collection.findOne (/var/www/html/node_modules/mongodb/lib/collection.js:1403:10)
    at siteController.details (/var/www/html/controllers/dashboard.js:191:12)
    at Layer.handle [as handle_request] (/var/www/html/node_modules/express/lib/router/layer.js:95:5)
    at next (/var/www/html/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/var/www/html/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/var/www/html/node_modules/express/lib/router/layer.js:95:5)
    at /var/www/html/node_modules/express/lib/router/index.js:281:22
    at param (/var/www/html/node_modules/express/lib/router/index.js:354:14)
    at param (/var/www/html/node_modules/express/lib/router/index.js:365:14)