fix data race in worker pool

Signed-off-by: Alex Jackson <ajackson@pivotallabs.com>