Handle 999 errors by changing Tor IP and sleeping