src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts/AbstractTaskService/_attemptTaskReconnection
class AbstractTaskService:	private _attemptTaskReconnection(): void {
		if (this._lifecycleService.startupKind !== StartupKind.ReloadedWindow) {
			this._tasksReconnected = true;
			this._storageService.remove(AbstractTaskService.PersistentTasks_Key, StorageScope.WORKSPACE);
		}
		if (!this._configurationService.getValue(TaskSettingId.Reconnection) || this._tasksReconnected) {
			this._tasksReconnected = true;
			return;
		}
		this._getTaskSystem();
		this.getWorkspaceTasks().then(async () => {
			this._tasksReconnected = await this._reconnectTasks();
		});
	}