Hi there Tim Coleman
Thanks for using QandA platform
This often tied to unexpected disconnections between the client and SQL Server. Even if you're using a loopback interface
since you're using ODBC 18.5.1.1, try reverting to an earlier version to test.
RHEL 9.5 might have introduced networking or socket handling changes not present in 9.4.
check for issues like file descriptor or memory pressure that may affect the SQL Server process.
If this helps kindly accept the answer thanks much.