What if you want to stop all the multiple relevant VMs together in a specific order, back them up individually, then restart them in the reverse order?
ex. NAS storage OS drive, and a handful of other VMs that will fail catastrophically if they can't communicate with the NAS during that time that it's being backed up?
In that scenario, I would suspend all the VMs that require the NAS storage, then the NAS itself to perform the backup, and resume the NAS. Wait however many seconds, and bring the clients online after it's up and running
-- Edit --
I misread the code. It does look like it stops them all sequentially before moving on to backups sequentially, and then resumes sequentially. Looks like all I'd need is to add a wait time in between the first resume and the next