   if (updateCounter * 8 / 15 >= updateInterval)
   {
     updateNow = true;
+    updateCounter = 0;
   }
   // Quick Lock up watch Dawg.
-  else if (updateCounter * 8 / 60 >= updateInterval)
+  else if (updateCounter * 8 / 60 >= updateInterval * 2)
   {
     resetFunc();
   }

  }
}




/**
 * A little wrapper function which can be pointed to.
 */
char byteStream() {
  return client.read();
}

/**
 * Used to count the amount of mathching bytes found in the stream.
 * It can not be local to checkBytes
 */
int matchingBytes = 0;

/**
 * Searches a byteStream for a sequence of bytes
 */
bool checkBytes(char* sequence, int sequenceLength, char (*stream)()) {
  int byteCount = 0;
  while (matchingBytes < sequenceLength) {
    matchingBytes = sequence[matchingBytes] == stream() ? matchingBytes + 1 : 0;
    byteCount++;
    // Allow some sort of default behaviour
    if (byteCount >= 2048) {
      return false;
    }
  }

*/
void(* resetFunc)(void) = 0;

int twoBytesToInt();

void setup() {
  resetEthernet(A5);
  Serial.begin(9600);
  delay(500);

  Serial.println(F("Started"));

  setupWDT();
  // put your setup code here, to run once:

