using a cancellation token code example
Example: c# create cancelation token
CancellationTokenSource source = new CancellationTokenSource();
CancellationToken token = source.Token;
CancellationTokenSource source = new CancellationTokenSource();
CancellationToken token = source.Token;