now treating upload start and end inside the failover try-catch, and busy loop to cancel upload in case of failure
Merge branch 'retry_upload' into build