Flush cache and retry on failure to get feature type