Close() public method

public Close ( ) : void
return void
        protected override void PostStop()
        {
            if (_connection != null)
            {
                _connection.Close();
            }

            if (_timeoutCanceler != null)
            {
                _timeoutCanceler.Cancel();
            }

            base.PostStop();
        }
        protected override void PostStop()
        {
            _connection.Close();

            base.PostStop();
        }