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