db connections do not longer stall on query errors