cleanup rsa demo