worker pool: rework signals with flags and small optim on fast path