const MAX_X_FAILURES: u32 = 5;
Consecutive X request failures before the capture reports itself dead: the server is gone rather than momentarily late, and the Python watchdog restarts the display.