Ensure client reconnects after erroring during the handshake (#31278)

Release Notes:

- Fixed a bug that prevented Zed from reconnecting after erroring during
the initial handshake with the server.
9dba8e5b0dAntonio Scandurra committed on 5/23/2025, 1:46:30 PM· committed by GitHubparent03ac3fb
5 files changedLine totals unavailable