SFTP reconnect fails when local adapter changes

Mac is connected to WiFi and Ethernet, and Kopia starts backup to the SFTP target.

Now if ethernet is unplugged the SFTP fails to reconnect, even though the WiFi connection to the same server is available.

Furthermore, cancelling backup run fails (stalls) until all unsuccessful attempts to reconnect with ever increasing backoff time complete.

Then another snapshot can be attempted which will resume using Wifi connection

Edit. I take that back – it does not resume on WiFi either: all attempts fail with

Error: unable to create policy getter: unable to get policies: unable to find manifest for source alex@obsidian:/Users/alex: unable to load manifest contents: error loading manifest content: getCacheForContentID: unable to complete GetBlob(q8c30d2834696cc4c07b47ce9d187ecbc-sa3af8c376e3bf57b103,0,-1) despite 10 retries.
01:54:15.983	uploading alex@obsidian:/Users/alex
01:54:15.983	listing manifest contents
01:54:15.985	got error unrecognized error when opening SFTP file /mnt/r/kopia/q8c/30d/2834696cc4c07b47ce9d187ecbc-sa3af8c376e3bf57b103.f: Connection Lost when GetBlob(q8c30d2834696cc4c07b47ce9d187ecbc-sa3af8c376e3bf57b103,0,-1) (#0), sleeping for 1s before retrying
01:54:16.988	got error unrecognized error when opening SFTP file /mnt/r/kopia/q8c/30d/2834696cc4c07b47ce9d187ecbc-sa3af8c376e3bf57b103.f: Connection Lost when GetBlob(q8c30d2834696cc4c07b47ce9d187ecbc-sa3af8c376e3bf57b103,0,-1) (#1), sleeping for 1.5s before retrying
.....

The sftp server is reachable otherwise.

Restarting Kopia allows backup to resume.