<Retreive thread id from window words> usReturn = DosKillThread(ThreadID); /* Destroy secondary thread */
This function allows the forced termination of a thread.