Thread cancelation example using DSharp.Core.Threading