Keep trying to set root password until successful or cancelled