Mark tasks failed only when not already done