perfpd: fix exit