Transport endpoint is not connected on Android

When I start my synch all foes well until I get that error on screen for all my folder

I also get a message Aborted scan due to an unexpected error: context canceled

I’m getting the same error messages on just one Android device (Google Pixel 6a running GrapheneOS). I’ve had Syncthing running on Google Pixel 8 and Pixel 9 Pro Fold too (with both also running GrapheneOS), but the error isn’t present there.

I think this happens when the phone goes to sleep while a folder scan is still running.