Repro for https://github.com/microsoft/vscode/issues/109908
Repor for VS Code triggering unnecessary open/close events.