Stop animation of header slider

I loved the new theme Sydney. Thank you very much for building the theme.
I would like to stop the image slider animation after say 5 loops. Where in the /js/main.js (or main.min.js) should I make changes?
By default I think it rotates indefinitely.

Also I would change the time of animation/ slideshow speed. (that’s straight-forward though)
I know, I should have child theme to make changes.


Sorry, as far as I can see that is not possible in the script we’re using.