Add an eviction handler to caching
The allows shutdown work to be done on any values removed from the cache via non-explicit means.