code: def test_kill_actor_immediately_after_creation(ray_start_regular):
      with ray_start_client_server() as ray:
  
          @ray.remote
          class A:
              pass
  
          a = A.remote()
          b = A.remote()
  
          ray.kill(a)
          ray.kill(b)
          wait_for_condition(_all_actors_dead(ray), timeout=10)
  
file_path: ray/python/ray/tests/test_client_terminate.py
imports: import sys
  import time
  import pytest
  from ray._private.test_utils import convert_actor_state, wait_for_condition
  from ray.exceptions import GetTimeoutError, ObjectLostError, RayTaskError, TaskCancelledError, WorkerCrashedError
  from ray.tests.client_test_utils import create_remote_signal_actor
  from ray.util.client.ray_client_helpers import ray_start_client_server
label_desc: Use image node_id 3 for calling a global function with example usage: test_kill_actor_immediately_after_creation(ray_start_regular) without return types