Make heroku scale workers down on_failure

Workers keep running if the last job was a failure :crying_cat_face: . This adds the `_on_failure` scenario to scale the workers down if there are no more jobs.