Added a new ICancellableStream interface for finer-grained cancellation support