VE-861 Properly hide loading indicator and track event when VE fails