Change success to complete and added retry(10 sec) to error check.