public override void OnConnectionClosed()
{
_closed = true;
Debug.WriteLine("ChannelFactory OnConnecitonClosed");
if (_established) {
try {
_bindedLocalSocket.Close();
}
catch (Exception) {
Debug.WriteLine("Binded Socket Close Error");
}
}
base.OnConnectionClosed();
}