fixed retryJob to check attemptNr in JEDI