src/vs/workbench/contrib/terminal/browser/terminalService.ts/TerminalService/_addToReconnected
class TerminalService:	private _addToReconnected(instance: ITerminalInstance): void {
		if (instance.reconnectionProperties) {
			const reconnectedTerminals = this._reconnectedTerminals.get(instance.reconnectionProperties.ownerId);
			if (reconnectedTerminals) {
				reconnectedTerminals.push(instance);
			} else {
				this._reconnectedTerminals.set(instance.reconnectionProperties.ownerId, [instance]);
			}
		}
	}