Waiting for goroutine