[#2221] Remove duplicated release of pools