code: def run(self):
      while self.should_continue_running():
          try:
              self.__backend.ping_experiment(self.__experiment)
          except HTTPUnprocessableEntity:
              # A 422 error means that we tried to ping the job after marking it as completed.
              # In this case, this thread is not needed anymore.
              break
          except Exception:
              _logger.exception("Unexpected error in ping thread.")
          self._interrupted.wait(self.PING_INTERVAL_SECS)
  
imports: import logging
  from bravado.exception import HTTPUnprocessableEntity
  from neptune.legacy.internal.threads.neptune_thread import NeptuneThread
label_desc: Use image node_id 2 for calling the PingThread obj's underlying member method code with example usage: obj.run() without return types