Disable Max loop iteration count

Can I disable loop iteration count? I tried setting it to 0 or -1 in the Project Settings, but the loop keeps breaking. My script needs this long loop.

This worked for me