fixed thread interrupt on destroy