Free the keyring once it's no longer needed
Free subscriber entries after all commands