Adding Generic workItemHandler to pass the context to executor