Raise an exception if the OVF client gets an error
Improve the logic around when to download the state form from S3