[cancelled] Run functions for the isCancel open
func cancelled() bool { select { case <-isCancel: return true default: return false } }