https://s3.amazonaws.com/clickhouse-test-reports/0/10dc83b7a9c18228c4a4fc0dcfe6b18d2427462e/stress_test__debug__actions_.html

I found weird exception while investigating why ephemeral nodes were not removed for a long time:
https://pastila.nl/?00ec9776/d8858e442f8453f9b9e31a2f1da3cc8b
catch (...)
    {
        tryLogCurrentException(__PRETTY_FUNCTION__);
        throw;
    }
    
    session_cleaner_thread = ThreadFromGlobalPool([this] { sessionCleanerTask(); });
    update_configuration_thread = ThreadFromGlobalPool([this] { updateConfigurationThread(); });
    updateConfiguration(config);
    LOG_DEBUG(log, "Dispatcher initialized");
}
void KeeperDispatcher::shutdown()
{
    try
    {
        {
            std::lock_guard lock(push_request_mutex);
            if (shutdown_called)
                return;
            LOG_DEBUG(log, "Shutting down storage dispatcher");
            shutdown_called = true;
            if (session_cleaner_thread.joinable())
                session_cleaner_thread.join();
            if (requests_queue)
            {
                requests_queue->finish();
                if (request_thread.joinable())
                    request_thread.join();
            }
            responses_queue.finish();