OBD-II help (J1850 PWM)

1.0.1 and

Then you should be aware that Serial.flush() blocks until all outgoing serial data (with the exception of the last byte) has been sent.

I can't see how that is useful in your code.