Realm at path ... already opened with different sync user

I am experiencing the same issue. How to fully log out a user?