interrupt() sleep()ing thread
simplified example