I wil fix this one for you, but note I strongly recommend you not pursuing this problem, because you will realize (and you probably have realized) that modules don't necessarily account for conditions like a connection error, timeout, bad response, etc. If they have to, then they will need to do a begin... rescue in everything they do, but if that's the case then that shouldn't be implemented on the module's level, either. And that would only address a portion of the problem. So I wouldn't try to pursue this if I were you.