[v6r10] JobWrapper: trying several times to upload a request before declaring the job failed

or the job will be in an unclear status (workflow ok, but, e.g., the output files won't be registered).