public void Abort() { if (RequestFactory != null) { RequestFactory.Abort(); RequestFactory = null; } tokenSource.Cancel(); // abort completely. Aborted = true; }