Restart Home Asistant runing as Proxmox VM fail

I have the problem that when I try to completely restart the HA using the UI it gets stuck.

I can still see the following message on the Proxmox console
gpio_stub_drv gpiochip0: removing gpiochip with gpios still requested

I can then no longer access HA and have to stop the VM hard in Proxmox.