[Bug 5095] back-sql concurrency issues