Retry 10 sec later if network fail to connect to router

I use the ethernetshiel. I use the ethernet.begin(mac, ip); in the void setup. And i use if(ethernet.begin(mac) == o) could i put there a reset sketche and if so, how to??

Thanks