I am trying to code refactor to ensure that mongodb instance is instantiated only once.
const dbs = async () => await new Promise((resolve, reject) => {