Adds the job requeue limit feature

resolves #1