fix time.Sleep() to runtime.Gosched()