# File lib/net/ssh/connection/session.rb, line 456
    def cleanup_channel(channel)
        if channel.local_closed? and channel.remote_closed?
          info { "#{host} delete channel #{channel.local_id} which closed locally and remotely" }
          channels.delete(channel.local_id)
      end
    end