gracefully exit thread when working with 3rd party lib for which I don't have control

Printable View