Don't rely on time.Sleep