Shutdown should close disk cache.

closes #486