In stop target, invoke task done callback only once the child process has
exited. Also tweaked logging...