Replaced MongoClient.open by MongoClient.connect