docstr: unregister the ioloop event handler
  
  called once during close
code: def _clear_io_state(self):
      """unregister the ioloop event handler
  
      called once during close
      """
      fd = self._shadow_sock
      if self._shadow_sock.closed:
          fd = self._fd
      if self._current_loop is not None:
          self._current_loop.remove_handler(fd)
  
imports: import warnings
  from asyncio import Future
  from collections import deque
  from itertools import chain
  from typing import Any, Awaitable, Callable, Dict, List, NamedTuple, Optional, Tuple, Type, TypeVar, Union, cast, overload
  import zmq
  from zmq import EVENTS, POLLIN, POLLOUT
  from zmq._typing import Literal
label_desc: Use image node_id 30 for calling the _AsyncSocket obj's underlying member method code with example usage: obj._clear_io_state() without return types