Bug 1018009 - spawn a separate thread to waitpid after killing.
Merge pull request #3865 from rmillner/BZ1018009_stg

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