I have a program running 2 threads; occasionally the main thread stalls and the worker thread is leaft as an orphan.

How do I close / terminate this orphan thread?

I tried putting a simple time...