serial: timbuart: make sure last byte is sent when port is closed