Fix bug during Pool re-initialization after pid changed.
Merge pull request #1 from psjay/master

Fix bug during Pool re-initialization after pid changed.