implement fetch_with_race_condition_ttl