protected Task PingDevice(string deviceId)
 {
     return(CommandsExecutor.ExecuteCommand((command) => DevicesService.Ping(command), new PingCommand
     {
         TargetDeviceId = deviceId
     }, timeoutInSeconds: 15));
 }