1
Only skimmed this, but after Googling Timer, saw the cancel method, which says: When a timer is no longer needed, users should call cancel(), which releases the timer's thread and other resources. Timers not explicitly cancelled may hold resources indefinitely.