fix massive insert blocking issue