问题 How do you close the connection to a redis memory store from a cloud function when the cloud function instance terminates? (I believe to close I need to call redis.quit(), but I just don't know when, and I cannot close them immediately after a function returns because the function instance can be reused) Because I'm just leaving the connections open, right now I am getting "ECONNRESET" errors. Alternatively if something like this is not possible: process.on("exit", function(){//also process