fix cache pool leak