pub const RESTART_ATTEMPTS: u32 = 25;
How long a UI restarting itself for the display waits for the lock its predecessor still holds: attempts × pause = 5 s.