code: def kill(self, exit_code: Any = None):
          
          self._force_kill.set()
          if exit_code is not None:
              self._exit_code = exit_code
          logger.info("Killing behavior {0} with exit code: {1}".format(self, exit_code))
docs: Stops the behaviour
  
          Args:
            exit_code (object, optional): the exit code of the behaviour (Default value = None)