title: Strange problem in threads, application doesn't exit
body: <p>OK I'm writing a Zoom component and I wanted it to capture from screen within a secondary thread.
  You can pretend I just want to derive TThread in an empty component. I didn't write any codes in the thread so it is just a simple useless thread. I wrote this code: <code>Thrd := TCaptureThread.Create(False);</code> in the component main class.
  Then I wrote <code>Thrd.Free</code> in the main class destruction code. Now when I close the whole application, although it destroys everything, the process doesn't terminate completely. In Windows Task Manager shows that number of threads is 1 but the process remains. If I comment the thread creation line, everything becomes OK and application terminates quickly. What am I gonna do about this? :(</p>
  
  <p>Thanks in advance</p>