A few brief comments...
- I'd be interested to see the code you say is not working. Without seeing it, it's hard to tell what might be going on.
- The problem really concerns shared connections (and avoiding them). I'm not sure that same memory addresses (in different processes) implies same connections.
- Letting each child have its own connection is easiest if you can close the parent's connection first. In my case, that wasn't feasible, but maybe it is in your case.
Thanks for your comments.