Stop talker thread

The talker thread is not stopped correctly.