changelog
added job state "failed"
setting jobs status to "failed" on error so they won't be executed again