This SQLSTATE code indicates a user interrupt. This may be timed out. Check the timeout settings in the Visual Studio project for this particular connection and see if increasing it helps.
Since this is DB2, you may also need to look at the db2cli.ini file and increase QUERYTIMEOUT INTERVAL there.
Tom h source share