Adds a retry for 15986 error code due to replica set reconfiguring.