Merge "clean up Process instance after we are done with the sub process" into mnc-dev