In general when there are only a few child records it's not a problem using a loop inside a plugin. But if you have a bunch of child records it can exceed the execution timout of 2 minutes. As far as I know processes with a long runtime should be excluded from plugins and webhooks should be used instead. Are there any other methods to avoid timeouts in this scenario?