Yeay, for the anotated mysql manual!
of course sharing a mysql connection between a parent and its children can be bad... I thought it was something to do with the parent being killed before the children could clean up or something.
moving the dbi handle out of the parent and into the child code will fix it.
see