better way to exit a program with a thread

Printable View