diff --git a/client/sizes.go b/client/sizes.go
index <HASH>..<HASH> 100644
--- a/client/sizes.go
+++ b/client/sizes.go
@@ -36,11 +36,11 @@ func main() {
 		prot = t
 	}
 
-	var wg sync.WaitGroup
+	wg := &sync.WaitGroup{}
 	wg.Add(f.NumWorkers)
 
 	for i := 0; i < f.NumWorkers; i++ {
-		go func(prot common.Prot, wg sync.WaitGroup) {
+		go func(prot common.Prot, wg *sync.WaitGroup) {
 			conn, err := common.Connect("localhost", f.Port)
 			if err != nil {
 				panic("Couldn't connect")
Passing sync.WaitGroup by reference in client sizes testing program

Previously it was passed by value, meaning the program would never stop.