code: def close_plugins(self, channel):
          
          opmon = channel.opmon
          for key in opmon.get_active():
              obj = opmon.get_plugin(key)
              try:
                  self.gui_call(obj.close)
  
              except Exception as e:
                  self.logger.error(
                      "Failed to continue operation: %s" % (str(e)))
docs: Close all plugins associated with the channel.