I have a while iterates forever. I would like to trap a SIGTERM signal and execute some clean up code. How would I do this in python? Thanks.