in reply to LWP::UserAgent timeout

Would LWP::UserAgent::Patch::HTTPSHardTimeout help in your case?