Add nops after thread finished