Properly handle clear{Interval,Timeout}