ui: rejoin a dropped reply once the page is back, retrying a few times (#33615)
A phone that locks freezes the page and drops its connection, and for the first seconds
after it wakes it has no network. The stream reader tried to rejoin once, often then, and
closed the reply as interrupted when that failed. It now waits until the page is in front
and online, retries up to six times with growing pauses, and stops early when the server
says the session is gone.
Assisted-by: Claude (Opus 5.5 Medium)