Some upgrades to DJJobs to support per-task max attempts and delays