Reproduction steps:
1. Open Unity Hub
2. Click on Add > Add from repository
3. Focus another program for a bit and focus back to the Unity Hub
4. Wait for the loading to finish and observe
Actual result: "Unable to load projects" is thrown
Expected result: Projects are displayed
Reproducible with: 3.14.2
Reproduced on: macOS Sequoia 15.4 (M4), Windows 11, Ubuntu 22.04