Added in a leave socket

Trying to figure out why some clients are getting more than one comment
when in a topic.