If you are struggling to restore your iPad, due to timeouts, you are more likely to be successful if you attempt the restore process from a PC (with iTunes) or a Mac (with Finder).
If you don’t have a PC or Mac, you can ask a friend for assistance (the computer just needs an internet connection with the current version of iTunes installed) - or you can visit the Genius Bar at your local Apple Store to seek assistance.
These Apple help documents may be useful:
https://support.apple.com/en-us/HT201263
https://support.apple.com/en-us/HT204184
https://support.apple.com/en-gb/HT203122
I hope you find this information to be helpful in resolving the problem.