pub const CANCEL_CHECK_INTERVAL_MS: u64 = 1000;
How often a pending recovery checks whether a stop was requested.