HUB-88 : Test if socket is open before calling function close
HUB-88 : Test if socket is open before calling function close

hubiquitus-old/hubiquitus,MartinBieth/hubiquitus-couchbase,hubiquitus-old/hubiquitus