the situation you described indicates you have two HTWorkitem handlers active which both tries to notify the engine that task was completed. So what I could suggest is:
- double check the code you have where you create HTWorkItemHandler and make sure you have just one for given session
- if you dispose session make sure that your handler is disconnected otherwise you'll get exceptions as handler will try to notify disposed session
HTH