[TIMOB-13370] (3_1_X) Ensure no concurrentModification Exception

BAckport of PR #4122
[JIRA TICKET](https://jira.appcelerator.org/browse/TIMOB-13370)