add some logs
handle timeout when connecting the flickr api