When I try to connect my device to itunes and attempt to restore it, it gets stuck in a loop but when I plug it into a wall charger it makes it all the way to the passcode lock screen. My problem is I cant keep the device on long enough to restore it. What can i do?