public void Cleanup() { if (_requestQueue != null) _requestQueue.Stop(); try { _downloadManager.CancelRunningDownloads(); } catch (Exception ex) { _log.Error("Unable to cancel download during cleanup.", ex); } }