In RollbackTest.restartNode we try to freeze and unfreeze the current secondary to prevent elections from happening when we restart the primary. We use ReplSetTest.freeze to freeze which handles network errors (see
SERVER-43237). But when we try to unfreeze, we use a vanilla adminCommand which does NOT handle network errors. However, if the current secondary is in rollback, the node would close all user connections so the this replSetFreeze command could fail with network errors for the same reasons as described in SERVER-43237. So I think we should also make the "unfreeze" part in RollbackTest.restartNode() resilient of network errors.