add thread delete system