I/O Error: Connection reset by peer: socket write error using JTDS driver

I have an application that saves data via a form in an MS SQL database.
This works fine under Lucee 5.4.2.17 (previous versions of Lucee too).
Under Lucee 6 I get the error message shown in the subject line.
There is also already an entry under: ([LDEV-4749] - Lucee)

OS: Windows Server 2019
Java Version: 11.0.19 (Eclipse Adoptium) 64bit
Tomcat Version: Apache Tomcat/9.0.71
Lucee Version: 6.0.0.585 to 6.0.1.20