How to stop thread when it is sleeping

Printable View