code: def get_extra_pids(self):
          
          while not self.is_retired:
              for proc in psutil.process_iter():
                  for conn in proc.connections():
                      if conn.laddr.port == self.port:
                          self.logger.debug(f'py4j server for {self.name} appears to have pid {proc.pid}')
                          return [proc.pid]
              if self.is_executable_configured():
                  # The helper process will start java and report the PID. Nothing to do here.
                  return []
              time.sleep(1)
              if self.java_executable_path is None:
                  self.logger.info(
                      "Can't auto-start java because no executable is configured. Please start java manually!")
              else:
                  self.logger.info(f"Can't auto-start java because {self.java_executable_path} is not found. "
                                   "Please start java manually!")
docs: Gets the list of process ids that should be marked as high priority.
          :return: A list of process ids that are used by this bot in addition to the ones inside the python process.