worker.go merged into pool.go