Attemp to avoid EOF bug in ruby/openssl.rb