Replace open-uri with Typhoeus/Hydra to control connections better.