Made sure that the task_ids are stored in the performance table as soon as the task is initialized
Improved a comment
Merge pull request #1214 from gem/abort-tasks-on-job-failure

Made sure that the task_ids are stored in the performance table soon enough