nsqd: fix cleanup of Channel.messagePump on delete
nsqd: fix cleanup of Channel.messagePump on delete

when a channel is deleted that has clients and is actively
delivering messages it is possible that messagePump()
will block on its go channel write to clientMsgChan due to
race between that write and the exiting of all clients subscribed
to that channel.

if that happens, the messagePump for the deleted channel
never exits and a reference is retained preventing the
channel from being GCd.

CrazyJvm/nsq,mikedewar/nsq,gaowenbin/nsq,jehiah/nsq,propellerads/nsq,mreiferson/nsq,chaosue/nsq,yh453926638/nsq,OlafRadicke/nsq,lcp0578/nsq,menghan/nsq,gaowenbin/nsq,mashuai/nsq,myhongkongzhen/nsq,lcp0578/nsq,magastzheng/nsq,sparklxb/nsq,lytics/nsq,jehiah/nsq,myhongkongzhen/nsq,msn217/nsq,ShinichR/nsq,jehiah/nsq,nieanan/nsq,Dieterbe/nsq,absolute8511/nsq,nimmen/nsq,CrazyJvm/nsq,19hz/nsq,coderhaoxin/nsq,beni55/nsq,mashuai/nsq,ShinichR/nsq,propellerads/nsq,propellerads/nsq,kevinc0825/nsq,absolute8511/nsq,ShinichR/nsq,sparklxb/nsq,ShinichR/nsq,mikedewar/nsq,chaosue/nsq,wmydz1/nsq,xiexingguang/nsq,nsqio/nsq,CrazyJvm/nsq,rpau/nsq,judwhite/nsq-0.3.2-win,szqh97/nsq,handsomesun/nsq,bo406/nsq,jlr52/nsq,magastzheng/nsq,kevinc0825/nsq,mashuai/nsq,chaosue/nsq,jmptrader/nsq,w3hacker/nsq,ploxiln/nsq,bo406/nsq,coderhaoxin/nsq,mreiferson/nsq,philipbo/nsq,sunminghong/nsq,mashuai/nsq,svmehta/nsq,beni55/nsq,seanluo/nsq_with_note,qinlodestar/nsq,jlr52/nsq,bitly/nsq,coderhaoxin/nsq,elubow/nsq,yh453926638/nsq,MadBomber/nsq,kesutton/nsq,w4ngyi/nsq,ploxiln/nsq,w4ngyi/nsq,shanemhansen/nsq,msn217/nsq,ShinichR/nsq,jehiah/nsq,dinedal/nsq,bitly/nsq,mreiferson/nsq,wmydz1/nsq,chaosue/nsq,sparklxb/nsq,szqh97/nsq,Dieterbe/nsq,sparklxb/nsq,lcp0578/nsq,moander/nsq,nsqio/nsq,rpau/nsq,mreiferson/nsq,ploxiln/nsq,mikeqian/nsq,wuxu92/nsq,mikeqian/nsq,judwhite/nsq-0.3.2-win,mashuai/nsq,svmehta/nsq,rpau/nsq,OlafRadicke/nsq,handsomesun/nsq,lytics/nsq,msn217/nsq,youxidev/nsq,xiexingguang/nsq,yh453926638/nsq,19hz/nsq,wmydz1/nsq,Dieterbe/nsq,lcp0578/nsq,jlr52/nsq,magastzheng/nsq,wmydz1/nsq,absolute8511/nsq,absolute8511/nsq,MadBomber/nsq,mikedewar/nsq,philipbo/nsq,seanluo/nsq_with_note,chrislusf/nsq,kesutton/nsq,bitly/nsq,CrazyJvm/nsq,MadBomber/nsq,youxidev/nsq,szqh97/nsq,szqh97/nsq,ploxiln/nsq,jlr52/nsq,chrisroberts/nsq,msn217/nsq,rpau/nsq,bo406/nsq,chaosue/nsq,dmarkham/nsq,mikeqian/nsq,gaowenbin/nsq,w4ngyi/nsq,philipbo/nsq,handsomesun/nsq,dinedal/nsq,xiexingguang/nsq,elubow/nsq,dmarkham/nsq,nieanan/nsq,kevinc0825/nsq,pombredanne/nsq,nsqio/nsq,tophymastery/nsq,shanemhansen/nsq,Dieterbe/nsq,jsocol/nsq,handsomesun/nsq,absolute8511/nsq,coderhaoxin/nsq,beni55/nsq,mynameisfiber/nsq,Dieterbe/nsq,yh453926638/nsq,xuzhaokui/nsq,nimmen/nsq,mynameisfiber/nsq,wuxu92/nsq,lcp0578/nsq,bo406/nsq,sunminghong/nsq,yh453926638/nsq,qinlodestar/nsq,tophymastery/nsq,nsqio/nsq,mreiferson/nsq,msn217/nsq,kesutton/nsq,nsqio/nsq,jmptrader/nsq,w3hacker/nsq,qinlodestar/nsq,chrisroberts/nsq,rpau/nsq,sparklxb/nsq,nieanan/nsq,youxidev/nsq,wuxu92/nsq,moander/nsq,jehiah/nsq,judwhite/nsq-0.3.2-win,szqh97/nsq,handsomesun/nsq,xiexingguang/nsq,w4ngyi/nsq,menghan/nsq,bo406/nsq,qinlodestar/nsq,xuzhaokui/nsq,gaowenbin/nsq,chrislusf/nsq,jsocol/nsq,myhongkongzhen/nsq,bitly/nsq,philipbo/nsq,OlafRadicke/nsq,qinlodestar/nsq,xuzhaokui/nsq,w4ngyi/nsq,beni55/nsq,ploxiln/nsq,kesutton/nsq,myhongkongzhen/nsq,mikeqian/nsq,MadBomber/nsq,mikeqian/nsq,kesutton/nsq,pombredanne/nsq,chrislusf/nsq,moander/nsq,beni55/nsq,myhongkongzhen/nsq,philipbo/nsq,jlr52/nsq,jmptrader/nsq,CrazyJvm/nsq,wmydz1/nsq,19hz/nsq,gaowenbin/nsq,xiexingguang/nsq,coderhaoxin/nsq,bitly/nsq,MadBomber/nsq