Terminates the thread.
Source position: classesh.inc line 1495
protected procedure TThread.DoTerminate; virtual;