implement pool.Close()