New bugfix 1.2.1: Fix closing given pool