Always the same problem and automatic restart of HA

Although I’ve already had answers about the automatic restart of HA after the following error, and although I’ve already tried to disable almost all the custom components, I still have this problem. Is it possible that no other user has experienced similar behavior?

Log is the following:

2023-03-23 04:36:46.088 ERROR (MainThread) [root] Uncaught exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 226, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 214, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 179, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1882, in _run_once
    handle = heapq.heappop(self._scheduled)
RuntimeError: list changed size during iteration

Hello, do you have a user integration that you installed manually?

I think not, but will check. Do you have same behaviour?

No, but when I see the log it should definitely be something with python that conflicts.

I have installed only default integrations and some of the custom ones, i tried also to disable some of them, but nothing… the problem occurs almost every day.
What to do?

Did you ever get to the bottom of this ?

RuntimeError: Executor shutdown has been called
2024-01-17 09:58:25.460 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.weatherflow_xmpp_wind_speed, topic: 'homeassistant/sensor/weatherflow2mqtt_ST-00088363/rapid_wind/state' with payload: b'{"wind_speed": 3.87, "wind_bearing": 352, "wind_direction": "N"}'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/runner.py", line 188, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 640, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1873, in _run_once
    handle = heapq.heappop(self._scheduled)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: list changed size during iteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):