Added code to call Runner's done in both InProcess and SubProcess cases.