enabling with statement for MongoReplicaSetClient

A feature we already have for MongoClient.