Catch request timeouts and potentially retry