utils/stats:
utils/stats:

Fixed failure counters, so when a task fails the supervisor will
actually terminate the job (after a timeout period, which I still don't
like, but at least this is an improvement).


Former-commit-id: 95412e5aef478fd28dd812faf8c6dbfe07b9c8c2 [formerly 58b050e999c6ca9024633db27d4dcd88caa5feec] [formerly 58b050e999c6ca9024633db27d4dcd88caa5feec [formerly 11e1b2e14558bd366e707d34d4e8de3427dc7f54]]
Former-commit-id: f43bbf579484b1cb35f882e4baa2de74456f0d8d
Former-commit-id: 90c4d0493294d7b121129e88a468b3f9a7da1b7a
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine