fn track_consecutive_failures( success: bool, consec_fail_ref: &Arc<Mutex<usize>>, connectivity_notified_ref: &Arc<Mutex<bool>>, )
Track consecutive failures and fire a connectivity-lost notification after 3+.