From discussion at #3387. If the connection pruning is enabled, and minimum pool size is 0, on pruning the last connection we should also delete the pool.