Clear sigterm handler after first run
Non-zero exit status should indicate failure
Wait for child process to die, a second sigterm will kill the process