add example of trapping SIGTERM from bash