ser_drain(): Wait for hw transmission complete.