You have used a static statement name and preprocessed with the -r reentrancy option. Static statement names generate static
variables that are filled in by the database. If two threads use the same statement, contention arises over the variable.
Use a local host variable as the statement identifier instead of a static name.