Better RingPool implementation.