Hi Tom Sebastian,
The new task client should not be a problem since I do that too.
Not sure about the new StatefulKnowledgeSession. Since I am using JBPM as a Service and jbpm console use single session. Can you try to persist your StatefulKnowledgeSession in database and reinitialize that StatefulKnowledgeSession on server start?
Regards,
Thomas Setiabudi