cleanup pid handlers again