Looking at the upload code that we currently have we don't specify any retry options and the upload function gives up the moment anything goes wrong. Users uploading large files may have unstable internet connections or the connection to the server may get briefly interrupted for other reasons. We need to handle this better.