Set indicator job status on error

This is to fix #300.

The UI still needs to be updated to check for failure status while polling.