Added timeout between commands after which motors are halted.