How are you iterating over the reps? Could it be ...
# suitescript
s
How are you iterating over the reps? Could it be stuck in a non-terminating loop?