The ShardRemote::_runCommand does not notify the replica set monitor for write concern errors, which causes the RSM to return the same host over and over again and never attempting to discover a new primary.
This makes the auto-retry logic for config server commands not reliable and causes failures in the sharding continuous stepdown suite.