src/vs/workbench/contrib/terminal/browser/remotePty.ts/RemotePty/detach
class RemotePty:	async detach(forcePersist?: boolean): Promise<void> {
		await this._startBarrier.wait();
		return this._remoteTerminalChannel.detachFromProcess(this.id, forcePersist);
	}