delete thread skeleton