I was testing my code, and added the following lines in my setup loop:
pinMode(4, OUTPUT);
digitalWrite(4, HIGH);
And for some reason it now doesn't lock up after 4 calls. I even tested the code after commenting "pinMode(4, OUTPUT); digitalWrite(4, HIGH);" out, and it still worked (didn't lock up after 4 calls).
I also tested my code with and without calling setSyncProvider(), with both times working (no lock ups after 4 calls).
So far, the code is working, so I will post if I need any more assistance. Thanks for your help!