code: def __exit__(self, type, value, traceback):
      run(self.io_loop)
      self.io_loop.close()
  
imports: from __future__ import annotations
  import pytest
  from concurrent.futures import ThreadPoolExecutor
  from itertools import repeat
  from tornado.ioloop import IOLoop
  from bokeh.util.serialization import make_id
  from bokeh.util.tornado import _CallbackGroup
label_desc: Use image node_id 2 for calling the LoopAndGroup obj's underlying member method code with example usage: obj.__exit__(type, value, traceback) without return types