Add timeout to country code resolver