Hi Mark,
You can use:
PauseThread(4);
PauseThread(6);
No delay should be required. Once those routines return the corresponding Thread will not execute further.
Another approach would be to have the Threads detect the error, do any cleanup, and terminate itself (exit). Probably not in your case, but killing Threads sometimes has a possibility of leaving things in a partially changed invalid state.