Use an executor instead of spawning a thread per spec.