switching to MongoClient from Connection as per documentation