Hi! Sorry if I am wrong but I am guessing its just timing out from overload from doing the same task repeatedly, Might I recommend doing zones instead of touched events
Zone Service I think will solve your problem here since its avoiding using any classic touched method