transferring/downloading files to bucket within a google cloud bucket causes disconnection
Most likely "Transport endpoint is not connected" issue can be caused by gcsfuse process being killed suddenly.
There are iterations of this error happening that have been fixed by unmounting and mounting
Cloud Storage FUSE is a Google-developed and community-supported open-source tool, so if this issue keeps happening to you, you might want to ask for support there.