reactivated code for RTS hardware flow control