Producer/Consumer problem with flickr pictures