public void Close() { string res = string.Empty; if (m_proxy != null) { res = m_proxy.Close(); } if (host != null) { host.Close(); } host = null; }