Motivation: 55fec94592 fixed a bug where we did not correctly clear all caches when the resolver was closed but did not add a testcase. Modifications: Add testcase. Result: More tests.
55fec94592