remove pool reference when the pool is disposed