The most likely cause is your client (Power Query, probably) terminated the connection on its side, as evidenced by
java.io.IOException: Broken pipe at java.base/sun.nio.ch.FileDispatcherImpl.writev0(Native
That’s something you cannot “fix” on the server application side.