!7

static long timeout = 60000;
static Var<Int> connected = new(0);

html {
  int count = parseIntOpt('count);
  temp tempIncIntVar(connected);
  print(connected! + ", eq: " + eq(connected!, count));
  waitForVarToChange_withTimeout(connected, count, timeout);
  ret connected!;
}