Check wget exit status