public function disconnect()
    {
        if (null === $this->socket) {
            return;
        }

        fclose($this->socket);
        $this->socket = null;
    }
public function disconnect()
    {
        if (null === $this->socket) {
            return;
        }

        fclose($this->socket);
        $this->socket = null;
    }
{@inheritDoc}

@return void