docstr: Close the client connection
docstr_tok: ["Close","the","client","connection"]
code: def close(self):
      """Close the client connection"""
      self._closed.set()
      self._thread.join(timeout=0)
      self._thread = None
  
imports: from collections import defaultdict
  from dataclasses import asdict, dataclass
  import logging
  from retrying import retry
  from threading import Thread, Event
  import time
  import typing
  from bson import json_util
  import requests
  import sseclient
  from uuid import uuid4
  import fiftyone.constants
  import fiftyone.core.state
  from fiftyone.core.session.events import Event, EventType, ListenPayload, dict_factory
label_desc: Use image node_id 5 for calling the Client obj's underlying member method code with example usage: obj.close() without return types