fail task on exception

If the task announcement throw exception, set status to fail instead of
retrying it again and again.
Merge pull request #573 from metamx/task-fail-on-exception

fail task on exception