added a basic signal handler for the top-level C process which sends SIGTERM to its...