Prevent getting disconnected from MongoDB and reuse the moongoose connection for MongoStore (used for session data).