Only close websocket disconnected chan if still open.
Only close websocket disconnected chan if still open.

A channel cannot be closed multiple times, so use a select statement
to only close the channel if it can not be read from.

tb00/btcd,jongillham/btcd,jimmysong/btcd,cqswxj2013/btcd,hectorj/btcd,decred/dcrd,davecgh/btcd,dajohi/btcd,jrick/btcd,DanielKrawisz/btcd,cqswxj2013/btcd,jrick/dcrd,CryptocurrencyCabal/htcd,glv2/ppcd,jcmincke/dcrd,FactomProject/btcd,btcsuitereleases/btcd,runeaune/btcd,btcsuitereleases/btcd,davecgh/btcd,ppcsuite/ppcd-old,qchain/btcd,Dirbaio/btcd,BitGo/prova,hectorj/btcd,jimmysong/btcd,Cleawing/btcd,Evil-Coin/Evil,cjepson/btcd,danoctavian/btcd,Cleawing/btcd,aakselrod/btcd,jcmincke/dcrd,qchain/btcd,ppcsuite/ppcd-old,adiabat/btcd,1d4Nf6/btcd,adiabat/btcd,mathiasrw/btcd,jrick/btcd,ppcsuite/ppcd,runeaune/btcd,sysbot/btcd,soapboxsys/ombfullnode,pkothbauer/btcd,Stash-Crypto/btcd,soapboxsys/ombfullnode,Roasbeef/btcd,dajohi/btcd,Stash-Crypto/btcd,ltcsuite/ltcd,glv2/ppcd,toddfries/btcd,wallclockbuilder/btcd,Roasbeef/btcd,danoctavian/btcd,Dirbaio/btcd,decred/dcrd,FactomProject/btcd,wallclockbuilder/btcd,mathiasrw/btcd,tb00/btcd,jrick/dcrd,Evil-Coin/Evil,ppcsuite/ppcd,dan-da/btcd,DanielKrawisz/btcd,dajohi/btcd,cjepson/btcd,stevenroose/btcd,stevenroose/btcd,toddfries/btcd,sysbot/btcd,btcsuite/btcd,aakselrod/btcd,Dirbaio/btcd,jongillham/btcd,ltcsuite/ltcd,BitGo/prova,1d4Nf6/btcd,jcmincke/dcrd,CryptocurrencyCabal/htcd,btcsuite/btcd,pkothbauer/btcd,jrick/btcd,dan-da/btcd