Instead of using the same error variable across all workers declare a
new error variable for each goroutine. This prevents race conditions
where multiple routines are using the same error variable to make
decisions and failures are missed.
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>