CXX-334 fix shutdown in tests that manually call ReplicaSetMonitor::shut...

...down()