Drain serial port after write.