It was more of a review comment for our internal use actually - will remove.
The issue is :
a) every time we try to pull a task for this executor, we will be iterating over this taskId and skipping it
b) remove becomes more expensive.

I did not actually do anything about it (yet) since this is a rare occurance and almost always the else should not happen.