cleanup (Net::SSH::Transport::State)

         # File lib/net/ssh/transport/state.rb, line 167
    167:     def cleanup
    168:       if @compressor
    169:         @compressor.finish if !@compressor.finished?
    170:         @compressor.close
    171:       end
    172:
    173:       if @decompressor
    174:         # we call reset here so that we don't get warnings when we try to
    175:         # close the decompressor
    176:         @decompressor.reset
    177:         @decompressor.close
    178:       end
    179:
    180:       @compressor = @decompressor = nil
    181:     end