check returned http status code and it will run again if status code isn't 200