MongoDB connection in process var