Unreliable SMS message reception on Arduino with GSM modem

What does this part do?

  else if ( millis() - start_time > 300000UL)
  {
    start_time = millis();
    altSerial.println("AT");
    delay(3000);
    if (!printSerial("OK")) SyncOrResetGsmAndTx();
  }