Properly shutdown when ALIVE is set to False.

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

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Make sure we don't leave any collector behind upon exiting.