 
   // relax alert state
   alertState = false;
+  stopBlink();
 }
 
 // ToDo: why not call this on a fixed interval?

        alertTimer = addTimer(random(1000, 5000), dropConnector);
        // propagate signal though network
        for (int j=0; j<NUM_CONN; j++) if (j!=busIndex) txWrite(j, ALERT);
      }
      break;
    case DROPPING_CONNECTOR: // some connector in the network is dropped

  }
}

void blink() {
	// toggle one led group
	blinkLedState = !blinkLedState;
	digitalWrite(leds1pin, blinkLedState? HIGH : LOW);

  digitalWrite(debugLedPin, HIGH);
  removeTimer(alertTimer);
	alertBlinkTimer = addTimer(300, blink);
}
void stopBlink() {
  removeTimer(alertTimer);
  // restore leds
  if(lampState) switchLampOn();
  else switchLampOff();
  digitalWrite(debugLedPin, LOW);
}


void setup() {
  // set up pins
  for (int i=0; i<NUM_CONN; i++) {
