Fixed a bug in the pool where _iterinactive would check if the worker is active and the job cache would change in the middle of the operation.