fix a buf by adding check_tx_completion into tx worker thread