code: def finalize_client():
      """Release resources of this client."""
      if os.environ.get("DGL_DIST_MODE", "standalone") != "standalone":
          rpc.finalize_sender()
          rpc.finalize_receiver()
  
imports: import atexit
  import gc
  import multiprocessing
  import os
  import queue
  import sys
  import time
  import traceback
  from enum import Enum
  from ..None import utils
  from ..base import dgl_warning, DGLError
  from .None import rpc
  from .constants import MAX_QUEUE_SIZE
  from .kvstore import close_kvstore, init_kvstore
  from .role import init_role
  from .rpc_client import connect_to_server
label_desc: Use image node_id 6 for calling a global function with example usage: finalize_client() without return types