Able to destroy container when deleting task.