Fixed pooling close detection.