If we are enabling async_insert, query log missing all insert queries.

We are using log for monitoring, too (inserts time, inserts frequency etc), and with  async_insert query_log is empty. Maybe log can be written anyway?
if (auto * create_query = ast->as<ASTCreateQuery>())
        {
            if (create_query->select)
            {
                applySettingsFromSelectWithUnion(create_query->select->as<ASTSelectWithUnionQuery &>(), context);
            }
        }
        auto * insert_query = ast->as<ASTInsertQuery>();
        if (insert_query && insert_query->settings_ast)
            InterpreterSetQuery(insert_query->settings_ast, context).executeForCurrentContext();
        if (insert_query)
        {
            if (insert_query->data)
                query_end = insert_query->data;
            else
                query_end = end;
            insert_query->tail = istr;
        }
        else
        {
            query_end = end;
        }
    }
    catch (...)
    {
        
        String query = String(begin, begin + std::min(end - begin, static_cast<ptrdiff_t>(max_query_size)));
        auto query_for_logging = prepareQueryForLogging(query, context);
        logQuery(query_for_logging, context, internal);
        if (!internal)