ignore the execution of each interval function if the page has been destroyed