handshake free memory