Doing so would introduce both a bug and a logging error.  Removing an empty Set from pendingTasks is normal, expected and desired behavior at this point.  And only unexpected clean-up is intended to be logged.