65d44c412e
On 12.10 one ConnectError through the proxy left getUpdates hanging on a dead (CLOSE-WAIT) connection for 1.5 days: reminders still went out, incoming messages got no answer. Explicit connect/read/pool timeouts for both request pools, long-poll timeout 25 s, and a watchdog: no successful getUpdates for 3 minutes → exit, systemd starts a fresh process. Tested on the VM by stopping the proxy: restart after 185 s, polling back once the proxy returned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>