JBPM-4249 - Ensure that ksession can be safely used in container managed transaction environment