The first step in culling connections was to take a subset of the pool's connections from index 0 to numToCull. This leads to an error if numToCull is also zero.