If a Timer class is scheduled to perform a certain task repeatedly, and when a scheduled task is finished, who will clean up or terminate or stop that
thread? Is there anything that I can do to make sure those finished threads are cleaned up so that they will not occupy resources.