SPY-217 Handle task completion for a stage that is already done and gone

This should only be happening as a result of recovery when a task is resubmitted and thus can be completed more than once.