Disconnect MongoDB connection