Don't clear an error on a socket that is already closed
Don't clear an error on a socket that is already closed

sjw-github/PHP-Websockets,zjsxwc/PHP-Websockets,jahanzaibbahadur/PHP-Websockets,vinod1988/PHP-Websockets,zjsxwc/PHP-Websockets,ghedipunk/PHP-Websockets,jerinho/PHP-Websockets,sjw-github/PHP-Websockets,jahanzaibbahadur/PHP-Websockets,kofidazy/PHP-Websockets,kofidazy/PHP-Websockets,jerinho/PHP-Websockets,ghedipunk/PHP-Websockets,vinod1988/PHP-Websockets