Adopt reaper thread as an alternative to waitpid() in job execution.
Tests currently hang because we run out of threads.