RemoveStageBarrier: handle fetch failed task only if it comes from a running stage