I had the same problem this afternoon. I was finally able to stop my phone to keep restarting over and over. Here's how to do it:
1: From the home screen, go the Settings by tapping the menu button.
2: Scroll down to reach Account & Sync.
3: At the top of that page, turn off the Auto Sync...