machines getting stuck retiring - retry and shutdown VMs when no longer required or VMs idle