add support for CLR completed task handler