redo close, on tls level