Indeed ::Timeout::Error, ::Errno::EPIPE are rescued by send_request_cgi so hasn't sense I think to rescue them again here.