close (Net::SSH::Connection::Channel)

    # File lib/net/ssh/connection/channel.rb, line 210
            def close( client_initiated=true )
              unless defined?(@already_closed) && @already_closed
                msg = @buffers.writer
                msg.write_byte CHANNEL_CLOSE
                msg.write_long @remote_id
                @connection.send_message msg
                @already_closed = true
              end

              unless client_initiated
                @connection.remove_channel( self )
                callback :close, self
              end

              self
            end