code: def test_hang_issue12364(self):
      fs = [self.executor.submit(time.sleep, 0.1) for _ in range(50)]
      self.executor.shutdown()
      for f in fs:
          f.result()
  
imports: import signal
  import sys
  import threading
  import time
  import unittest
  from concurrent import futures
  from test import support
  from test.support.script_helper import assert_python_ok
  from .util import BaseTestCase, ThreadPoolMixin, ProcessPoolForkMixin, ProcessPoolForkserverMixin, ProcessPoolSpawnMixin, create_executor_tests, setup_module
label_desc: Use image node_id 4 for calling the ExecutorShutdownTest obj's underlying member method code with example usage: obj.test_hang_issue12364() without return types