Adds destroy task.