async def METHOD_NAME(inference_pool: InferencePool):
    worker_pids = [pid for pid in inference_pool._workers]
    await inference_pool.close()
    assert len(inference_pool._workers) == 0
    for worker_pid in worker_pids:
        assert not check_pid(worker_pid)