Detect when server disconnects properly, so we avoid infinite loop
Detect when server disconnects properly, so we avoid infinite loop

Janson-Leung/nsqphp,mehulsbhatt/nsqphp,SoCloz/nsqphp,davegardnerisme/nsqphp