fix threadFinishesDirectly bugs in doNextAddOp