What i mean was, you don’t need that while loop and breaks because you are already checking inside the thread for config and load the framework if it succeed.
I have send a PR with the optimizations.