Updated for latest library

Updated to support unlimited queue & one func per pool.