Since 2021.6.x and above HA crashes when losing internet connection

After the June update HA on Home Assistant Blue keeps crashing whenever the internet fails. The UI becomes completely inaccessible, automations run and Z-wave network still collects data, but the unit becomes unpingable.

There is nothing specific in the logs. I can reproduce the fault on demand.

Any none know a fix?