pkg-server: deleting the cache file when service restarts