Threads can thread stop execution of the a thread works