In a Node/Express app, I have a function that checks 2 servers for their health status and an enclosing function that serializes the invocations with the expectation that I