close cache file to avoid warning message.