Merge pull request #13 from talbright/master

Fixes issue with retrying a job (issue #4)