Retry RemoteCommand in MeasureRestoreSnapshotTime for 5 minutes.