lib: use pool.isFull()