Issue with Home Assistant restarts

Since a week my home assistant doesn’t restart anymore if i use the restart functionality.
In the logs i can see this (last two lines of the log .1 after a restart:
2025-05-11 18:08:07.302 WARNING (MainThread) [homeassistant.runner] Task could not be canceled and was still running after shutdown: <Task cancelling name=‘Task-1156’ coro=<SmartSystem.start_ws() running at /usr/local/lib/python3.13/site-packages/gardena/smart_system.py:198> wait_for=>
2025-05-11 18:08:07.305 WARNING (MainThread) [homeassistant.runner] Task could not be canceled and was still running after shutdown: <Task cancelling name=‘Task-1720’ coro=<FcmPushClient._listen() running at /usr/local/lib/python3.13/site-packages/firebase_messaging/fcmpushclient.py:722> wait_for=>

Does anybody have a clue why this is happening all of the sudden?
Many thanks!

Mike