Automatically retrying failed uploads.
Dropped console.log call.