Fetch the status code for wget call right