Make auto-reconnect more robust, continue retrying even on network errors