This prevents an accumulation of temproots. See https://github.com/NixOS/nix/commit/89dc62c1745950748084a763ea325bc427045e07.
LENA4O2VYLVQ7HWUAVHPAMD4NM2CB7LUOS2IYGN2L27EFHKMIZYAC }}}).detach();/* Make sure that old daemon connections are closed even whenwe're not doing much. */std::thread([&]() {while (true) {sleep(10);try {if (auto remoteStore = getDestStore().dynamic_pointer_cast<RemoteStore>())remoteStore->flushBadConnections();} catch (std::exception & e) {printMsg(lvlError, format("connection flush thread: %1%") % e.what());