public void StopProxy() { IsActive = false; UnsubscribeProxy(); if (!ProxyIsExternal) { Proxy.Dispose(); Proxy = null; } }