added timeout for external ip cache file