It looks like you are not registering the Listener for the human task server.
You should register it using something like:
ksession.registerWorkItemHandler("Human Task", new CommandBasedWorkItemHandler(ksession,..... ));
This Version of the WorkItemHandler will handle persistence correctly.
Cheers