[Turbopack] connect children in a batch when task is about to finish (#74773)
### What?
Connects all (new) children once the task is finished instead of each task when it's called.
To keep tasks active while the parent is in progress, but not finished, it uses the new active counter.