I expect program to check response status code and retry if status code is not 200 OK.