Reboot loop and "connection"(exception) issues fix

When after latest changes, when connecting to a network fails, a machine reboot is called, making an infinite loop each time it boots because of crontab.