close zeromq socket when no longer subscribing to stream (cherry picked from commit 23f967ecca43985180b2cc396fdbfc639b737c9a)
close zeromq socket when no longer subscribing to stream
(cherry picked from commit 23f967ecca43985180b2cc396fdbfc639b737c9a)

ActiveState/logyard,hpcloud/logyard