Remote config retry fix

Sometimes when a rig has just booted, curl fails to contact the remote
server to download the config file. This causes sgminer to go on without
a config file, waiting for user input. With this update, sgminer will
retry, use the last downloaded config or quit on failure.