fix waitforqueues
remove process.Pool.kill as redundant, fix process.Pool state handling