Refactor stress tests and wait for the results
Refactor stress tests and wait for the results

Previously, we were not waiting for the spawned goroutines to end.
Refactor the logic to use a common runStress that runs some function
from multiple goroutines.

uber-go/atomic