Small change to exit on sig TERM