check to see if a valid response code was returned, could also be None when offline