Do not sent more chunk and cancel the upload when the file change while uploading chunks
Do not beleive that the credidential are wrong when the job is cancelled

Otherwise, aborting the sync will make the client beleive the credidentials
are wrong.
Better error classification
Saner defaults