Only handle SIGINT, SIGTERM once