delete thread_id