Add Txb end of loop listener