dictGet('name', ...) should check for XML dictionary 'name' if XML dict=name does not exists then use SQL dictionary from the currectDatabase()

{
        for (auto loading_id : recently_finished_loadings)
        {
            auto it = loading_threads.find(loading_id);
            if (it != loading_threads.end())
            {
                auto thread = std::move(it->second);
                loading_threads.erase(it);
                thread.join(); 
            }
        }
        recently_finished_loadings.clear();
    }
    static void cancelLoading(Info & info)
    {
        if (!info.isLoading())
            return;
        
        
        info.loading_id = info.state_id;
        info.loading_end_time = std::chrono::system_clock::now();
    }
    
    void doLoading(const String & name, size_t loading_id, bool forced_to_reload, size_t min_id_to_finish_loading_dependencies_, bool async)