Use sync.WaitGroup.Go

The backgroundTask() helper function has been upgraded to use the new Go 1.25 sync.WaitGroup.Go() functionality.