private void ConnectionStateChangedInvokeCallback(IAsyncResult ar) { try { ConnectionStateChanged?.EndInvoke(ar); } catch { } }