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