`sync.WaitGroup.Add` called inside the goroutine, leading to a race condition
