How would you handle a long running PHP script? How would we get "sigterm" notifications to allow the PHP script to close gracefully?