wait only 10 secounds each try, but try 20 times. (reduces wait time)
Put host into maintenance mode first thing, to prevent other vms from starting.
of course don't wait for the maintenance mode to be finished
change query to get ids of the machines to support annotations on machines
don't shut down machines that are already suspended
changed the wrong line