Maintain connections might work, along with table locking, if there was a gaurantee that sequential calls from the same user session go to the same database connection and queries from other user sessions would not be interspersed. All the documentation says is that the connection is not dropped after a query is completed and the connection will be used again for a new user session.
Gaurantees are very important because not knowing how it works means that it may not work the way we think and therefore the "solution" may not be valid.
The problem sems to be that the driver puts the database at arms length and it may treat each query as a separate connection to the driver.