pbs: repeast pull loop until succeeded