Currently when logging out, kio_http_cache_cleaner stays alive and blocks in
QCoreApplication::processEvents(QEventLoop::WaitForMoreEvents);
forever.
This patch avoids this blocking and ensures that the main loop will exit when the session bus is no longer connected.
This fixes bug https://bugs.kde.org/show_bug.cgi?id=367575