Add generic function to poll a method for a certain result.
Fix get_available_vms for new instance types.
Poll get available VMs to ensure that resources are returned.