CLOUDSTACK-4430: Add retry logic back in case of template reload needed
for vmware.