public dispose(destroySocket = true): void {
clearTimeout(this._endTimeoutHandle);
this._endTimeoutHandle = undefined;
}
this.socket.off('close', this._closeListener);
this.socket.off('end', this._endListener);
if (destroySocket) {
this.socket.destroy();
}
public onData(_listener: (e: VSBuffer) => void): IDisposable {