Add to wait group before goroutine is started