better handling for flickr.photos.getAllContexts SSL error