Interrupt thread is unable to do a clean join