changes to implement task based parallelization for lwc.