BUGFIX: not terminating self correctly on hangups from parent