CVE-2023-6516: unbounded memory growth in a resolver's cache; every RBTDB
node queued for tree pruning allocated an event on the cache's quantum-1
database task, so a remote client could make the queue of outstanding
pruning events grow without limit. Tree pruning now runs on a task of its
own that drains its whole queue before yielding, and the task is created
together with the database so that it survives a cache flush