uart: flush the uart buffer when setting the flow control