#JC-1364 Added workaround interface method for session flushing.