Give up from "GET" state after several tries
Certgen should ends with failure after several unsuccessful tries. It stucks in infinite loop when, for example, incompatible API or some error in code is encountered otherwise.
Edited by Vojtech Myslivec