make sure geoip_close always called.