Free the resources associated with a thread.
PCRThread_Join should always be called prior to destroying the thread.