make WaitGroup as parameter to ipvs