The serial port no longer seems to need to be flushed. removed that.