HA Hangs at Restart/Stop

What could be some of the reasons for the above. While this does not happen each time I restart/stop, it does happen enough to make it frustrating. Sometimes if I am patient enough it eventually restarts but other times after 5-10 minutes of waiting I power down/up the PI to recover.

I cant find any pattern as to when it will hang. This morning I hid an entity and rebooted. After 10 minutes I just powered down.

I have checked the logfile when this hang occurs but is shows nothing