ssl: teardown the connection on close This should help us free some resources, though the libraries do keep some buffers allocated regardless.