Then provide a reset button for the test. Not the CPU reset, a switch on an I/O port.
Mmmm. Maybe you don't need it. You run test #1, the maximum is say, 10. Turn off the DUT, wait 10 seconds and you are good to go.
This assumes that you can turn off the DUT so it reads zero torque.