refactor initialization

this decreases the chance of deadlocks on startup
it should also decrease the startup time.
[#56592122]
[#56615394]
forgot to update versions to match urls