Handle network errors

If server 500 error apperas on getting some image, crawling fails.
Merge pull request #10 from clicman/master

Handle network errors