clean runs setup middleware
remove cache file after destroying shelf in clean