Implement task deletion