protected function sendCommand(string $command) : string
    {
        try {
            $client = new Client;
            $client->addServer($this->config['sockets']['client']);
            $response = $client->sendCommand($command);
            $client->close();
            return $response;
        } catch (ClientException $e) {
            return 'error';
        }
    }