ignore null/undefined in clearTimeout/Interval