Allow multiple tries on uploading
Currently, if uploading fails once (be it for a typod password or otherwise), the upload process will be broken off immediately. Instead, it should allow multiple tries, with the number of tries being configurable (default 3).