Added more thorough network retry system. Still stupidly brute force, but it *should* work.