flush the serial