[TO_STAGE] Bug 1018009 - spawn a separate thread to waitpid after killing.