Ensure close old timeouts on tab change.