SessionsCollectionRS often sends commands from the secondary node to the primary node. When it does so, it creates a local RemoteCommandTargeter which goes out of scope after the command is sent. Along with this, a ReplicaSetMonitor is created on the RemoteCommandTargeter that is created and destroyed.
It would be cleaner for SessionsCollectionRS to hold a reference to a singular RemoteCommandTargeter upon construction.