Refactored command definition factories to have a display name. This will allow us to add the tasks to the progress bar earlier.
GradleDaemonManager forward cancellation token, so daemon tasks blocking on a lock can now be canceled again.
Removed unused ThreadInterrupter from GradleDaemonManager.
DaemonTask now takes a CancellationToken.
Started daemon tasks should now appear on the progress bar as soon as they are scheduled.
Removed no longer needed todos.
Removed unused class from GradleDaemonManager.
Fixed unnecessary creation of progress bar in GradleDaemonManager.
Forwarding CancellationToken to the submitted daemon task properly.
Every daemon task is initially shown as suspended.
GradleDaemonManager now logs if it canceled a task.
Do not notify CommandCompleteListener if the task has been canceled.
Remove the task from the progress bar immediately if it has been canceled before the executor has started to process it. Do not wait for the executor's cleanup to remove it.