using runtime.Gosched instead time.Sleep(1e3).