title: How do I stop a thread when my winform application closes
body: <p>I have a singleton that has a running thread for obtaining records from a server.
  But when I stop my winform application the thread keeps running. I have tried to create a destructor in my singleton to abort the thread if it running, but it does not have any effect on the thread - I know that the destructor is being evoked. </p>
  
  <p>I am looking for suggestions on how I should shut down a thread when my application closes.
  thanks</p>
  
  <p>C#, .net2</p>