private void UpdateSystemProxy() { if (_config.Enabled) { SystemProxy.Update(_config, false); _systemProxyIsDirty = true; } else { // only switch it off if we have switched it on if (_systemProxyIsDirty) { SystemProxy.Update(_config, false); _systemProxyIsDirty = false; } } }