discard failed tasks