code: def kill(self):
      # Clean up children.
      try:
          ray.get(
              [
                  child.__ray_terminate__.remote()
                  for child in self.children
              ]
          )
      except ray.exceptions.RayActorError as e:
          # Sleep for 30 more seconds so that drivers will get more
          # information from GCS when actors are unexpectedly failed.
          print("Failed to kill a children actor. Error: ", e)
          time.sleep(30)
          raise e
  
file_path: ray/release/long_running_tests/workloads/actor_deaths.py
imports: import numpy
  import sys
  import time
  import ray
  from ray.cluster_utils import Cluster
  from ray._private.test_utils import monitor_memory_usage, safe_write_to_results_json
label_desc: Use image node_id 3 for calling the Parent obj's underlying member method code with example usage: obj.kill() without return types