Serial.flush(); Serial.begin(9600); delay(3000);
I'd put the baud rate change the other side of the delay.