when resetting child dependencies, make sure to also clear the thread/fd caches