Add retry to upload.
Pass -r to set retry number via CLI.
Bump version.