fix "IDEA-221944 Deadlock on opening second project" and support preloading for proje...