New version is out, which finally supports sharing database connection handles over multiple threads. Bumping the 3.2.7-r1 ebuild works fine.
Thanks fixed.