Raise RuntimeError when ``executor.submit`` is called during interpreter shutdown.