Added retries for file upload on error-report page.