If number of exceptions counted by the sender thread exceeds MAX_UNCAUGHT_EXCEPTIONS, the main thread can respawn children and continue running forever. This fixes that.