Type: Posts; User: Norm
What does setting the variable: thread to null do?
In the thread, test if a flag is set asking the thread to exit and exit/return.