fix default vApp name and add retry logic for rest calls