Fix deadlock when deleting a host with running VMs