code: def clean_previous_run(self):
          
          # Clean all lists
          self.arbiters.clear()
          self.schedulers.clear()
          with self.external_commands_lock:
              self.external_commands = self.external_commands[:]
docs: Clean variables from previous configuration,
          such as schedulers, broks and external commands
  
          :return: None