src/vs/platform/url/electron-main/electronUrlListener.ts/ElectronURLListener/flush
class ElectronURLListener:	private async flush(): Promise<void> {
		if (this.retryCount++ > 10) {
			return;
		}

		const uris: { uri: URI; url: string }[] = [];

		for (const obj of this.uris) {
			const handled = await this.urlService.open(obj.uri, { originalUrl: obj.url });

			if (!handled) {
				uris.push(obj);
			}
		}

		if (uris.length === 0) {
			return;
		}

		this.uris = uris;
		this.flushDisposable = disposableTimeout(() => this.flush(), 500);
	}