src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts/AbstractTaskService/terminate
class AbstractTaskService:	public async terminate(task: Task): Promise<ITaskTerminateResponse> {
		if (!(await this._trust())) {
			return { success: true, task: undefined };
		}

		if (!this._taskSystem) {
			return { success: true, task: undefined };
		}
		return this._taskSystem.terminate(task);
	}