Zombie process issue fix

I ran into an issue where the tcollector SenderThread had reached its threshold of uncaught exceptions. This caused it to call shutdown. Which tore down the Reader and the Sender threads. The main thread however was still running causing tcollector to be in bad state. 

This change should fix that.