Prevent failed downloads from blocking subsequent requests to the same
URL. #20
some cleanup and clearer ordering of code
Bumped version to 1.5.1