Do not call deletepid from the signal handler