public bool IsCancelled()
 {
     return(BackpressureHelper.IsTerminated(ref state));
 }