Adding a bunch of `sleep 1` to the test suite is going to make things very slow.  Can't you just join on the threads?