The sample app hangs after the last step was executed.

I'd say the interval should be cleared when there are no more steps to run.