stop the execution of the interval

Prevent continuous iterations of the interval.