src/vs/base/parts/ipc/common/ipc.net.ts/ProtocolWriter/dispose
class ProtocolWriter:	public dispose(): void {
		try {
			this.flush();
		} catch (err) {
			// ignore error, since the socket could be already closed
		}
		this._isDisposed = true;
	}