Python 3.9 raises RuntimeError if the default executor is called after loop.shutdown_default_executor is used:
RuntimeError
loop.shutdown_default_executor
RuntimeError: Executor sh