-1 means "no data available at this time". Wait for "Serial.available() >= 5" before you read five characters.