requestShutdown()
Call this function from a URL handler or API function to tell the server to shut down when it is finished handling all active requests. This function returns immediately.
You can use this function along with a supervisor process that restarts hython
to periodically free up the memory consumed by the Houdini session.