can new specifiy ksession in constructor of custom workitemhandlers