The `_TaskWrapper` that ends up getting registered contains the current task's ID, which is then inherited by another task of the same function. I think this is leftover from the old mechanism, since the `task_id` is never used by `_TaskWrapper`.