   }
 
   if (digitalRead(SYSTEM_ON) == IS_ON) {
-
-    if ((digitalRead(BUTTON) == PUSHED) || (digitalRead(PUSHLOCK) == UNLOCKED)) {
-      delay(100);
-      send_abort_shutdown();
-    }
-
-    if (receivedHeartbeat > 0) {
-      send_ok();
-      return server_running;
-    } else {
-      return server_shutdown_active;
-    }
-
+    return system_shutdown;
   } else {
     if (digitalRead(PUSHLOCK) == LOCKED) {
       return server_locked;

  delay(del);
}

void animate_reset() {

}

void animate_locked() {

}


}

void *system_shutdown() {
  animate_system_shutdown();

  if (((millis()-track_uart) >= WAIT_TO_SEND)) {
    //send_();
