Git panel crashes if you have submodules that take longer than 5 seconds to load

I have a repo with many git submodules and when opening the Git panel it is always in a inactive state, showing only the input to create commits but it does not have any working features. It also does not show the submodules in the repos. It works in VSCode and Windsurf. I think it’s not working because there is a 5 seconds timeout on loading the window. In the window output I can see the logs:

2025-05-09 18:08:17.356 [error] [Extension Host] View has not been initialized after retrying for 5 seconds.
2025-05-09 18:08:17.356 [error] [Extension Host] View has not been initialized after retrying for 5 seconds.
2025-05-09 18:08:17.376 [error] [Extension Host] View has not been initialized after retrying for 5 seconds.
2025-05-09 18:08:17.377 [error] [Extension Host] View has not been initialized after retrying for 5 seconds.
2025-05-09 18:08:17.377 [error] [Extension Host] View has not been initialized after retrying for 5 seconds.
2025-05-09 18:08:17.377 [error] [Extension Host] View has not been initialized after retrying for 5 seconds.
2025-05-09 18:08:17.425 [error] [Extension Host] View has not been initialized after retrying for 5 seconds.

From what I can see the Git panel take around 5 seconds to crash.