If a task is unable to start, because the worker cannot be dialed, the task never is "ended" properly, and remains in the db as 'running'. We should fail it properly, and ensure that both the DB gets updated, and run/execution queue gets cleaned, if needed.
If a task is unable to start, because the worker cannot be dialed, the task never is "ended" properly, and remains in the db as 'running'. We should fail it properly, and ensure that both the DB gets updated, and run/execution queue gets cleaned, if needed.