Clear the identity after releasing it.