Explanation:
 
The routine will keep on repeating until ~h1 <> 0, so Torque will remain motionless.