Delete task_pthread