pool: add helpers for pool idleness