Capture OpenSSL errors, to allow retry for those as well