pub fn try_take_leased_lock( leases: &mut HashMap<String, (String, Instant)>, lease_duration_ms: u32, key: &str, holder: &str, ) -> bool