Rel v6r7 sms race conditions

Fix a race condition when old tasks are set failed between stage submission and update.