I think the following needs to be squashed, since the server isn't using sync_close=true
--- a/lib/yahns/openssl_client.rb +++ b/lib/yahns/openssl_client.rb @@ -41,9 +41,11 @@ module Yahns::OpenSSLClient # :nodoc: def shutdown(*args) @ssl.shutdown(*args) + super # BasicSocket#shutdown end def close @ssl.close + super # IO#close end end