BZ-1040034 - Process performace fixes of Java API improved only Singleton session strategy

(cherry picked from commit 7b030523698ebdd92591307efc77af65947ecf51)