only remove if parent process is 1 (ie arbiter or child when arbiter is dead)
Merge pull request #6 from edgeware/gevent-pid-22776

only remove pid if parent process is 1