also catch SIGTERM for stopping the beep

Thanks to Jerome-github