add 'keepOpen' option to allPools helper
Add failing test for pool close callback