It seems you could refactor logic from this methods into multi smaller methods:

1. Get download link
2. Start the process and wait for it to finish
3. Download the OVF and vdmk files

This way code would be more testable and easier to read.