Thread sharing of MongoDB connection