Adding support for failure tolerance. Based on jackmack comments in the issues #10 on the parent github.
I have simply updated the code to work with the changes that have been made in batched_job since the original comments were made.
Fixed a bug where the job would not get removed from the batch properly