I am using MongoDB Altas in my nodejs application and the average query time is about 5 seconds when I open a MongoDB connection, make a query, and close it