1.7.10 - pool close and distributed insert fixes (p1, p2) raised by efc

to be tested on dev and pilot