Added SSL_free call in ns_close_conn()