def close_all(self):
    if self._in_select > 0:
      self._close_requested = True
      self._ping()
    else:
      self._do_close_all()
dataset/ETHPy150Open ucb-sts/sts/sts/util/io_master.py/IOMaster.close_all/original