better recovery on upload failure
catch process exec errors