Mark tasks failed only when not already done
Merge pull request #132 from guidow/leave_done_tasks_done

Mark tasks failed only when not already done