pub const NAN_CYCLE: i64 = 2000;
MOCK:NAN loses its connection after sample NAN_LOST of every NAN_CYCLE (absolute index modulo the cycle) and is back at NAN_REGAINED; the samples in between are missing.
MOCK:NAN
NAN_LOST
NAN_CYCLE
NAN_REGAINED