Or make the script inactive while the mass update ...
# suitescript
j
Or make the script inactive while the mass update is running