I agree with Nick, very strange condition to delete a task. Why don't you use the same condition as cluster deletion task has