Check transmit status from TXE interrupt bit instead of maintaining
separate flag variable.