public override void Dispose() { base.Dispose(); _rateGate?.Dispose(); _service?.Dispose(); if (_originalConnectionLimit > 0) { ServicePointManager.DefaultConnectionLimit = _originalConnectionLimit; } }