# remote: Fix connecting to remote with running server failing \(\#47203\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/8d555271ac473d42d668affcb306357a61377da1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 8d555271ac473d42d668affcb306357a61377da1

Requested commit: 8d555271ac473d42d668affcb306357a61377da1

Commit: 8d555271ac473d42d668affcb306357a61377da1

Tree: 5c0c3485dc34ec2786ea30bf732492ab06dd57d2

Author: Lukas Wirth

Committer: GitHub

## Message

```
remote: Fix connecting to remote with running server failing (#47203)

Follow up to https://github.com/zed-industries/zed/pull/47200, fixing an
edge case where if the heartbeat failure disconnects us we get stuck in
an unconnectable state

Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

- [02a19f7a7443b9f4af6eac0d02704476f23de75c](https://git.cafe/gitcafe/zed/commit/02a19f7a7443b9f4af6eac0d02704476f23de75c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/8d555271ac473d42d668affcb306357a61377da1?format=markdown)
