Close channel to signal goroutines to quit and waitgroup to confirm that they have