Check for the response status code before attempting to retrieve feeds

Checks for null pointer exceptions before attempting to read feeds.