Better job thread exit.

Raise an exception to escape from the depths.