Don't call _exit() from signal handler so that we could call exit() during exit.
Don't inherit registered signal handlers from parent process.