Added a WorkWithPool(pool pools.ResourcePool) method as an alternative to Work()