geoip: made register() blocking