8b9fe157b4
- Use 127.0.0.1 instead of localhost to avoid DNS/IPv6 resolution issues - Add 15s global timeout wrapper around connect() to prevent hanging forever - Reduce HTTP retry attempts from 30 to 5 (maintainLoop retries anyway) - Fix WebSocket cleanup: close socket on timeout to prevent orphaned connections - Improve settled state tracking in WebSocket connection promise