Testing/debugging feature 'one connection per session' enabled warning while opening a realm instance

Whenever I try to open a realm instance, I see this warning being logged in logcat:

REALM_SYNC W Testing/debugging feature ‘one connection per session’ enabled - never do this in production

For kotlin version there is solution by enabling session multiplaxing but I couldn’t locate equivalent of that for java sdk.

Any help is appreciated