protected override void PostStop() { base.PostStop(); // stop all operations executed in the background _pendingRequestsCancellation.Cancel(); }