title: C# System.Timers.Timer auto-shutdown?
body: <p>I have a Timer which kicks off and does it's job indefinitely in it's own thread until something happens in the main thread to disable it, in which case a different one will be enabled. This works perfectly. The only problem is that I want to make COMPLETELY sure the second timer doesn't run for too long.</p>
  
  <p>Is there a way to make a timer automatically disable after, say, 10 minutes if it doesn't receive a specific shutdown command due to some malfunction?</p>
  
  <p>I see that the class has a <a href="http://msdn.microsoft.com/en-us/library/system.timers.timer.aspx" rel="nofollow">InitializeLifetimeService</a> method. It sounds like it could help but I have no idea how to work it.</p>
  
  <p>Thanks guys and gals :) </p>