Moved it to lib/healthCheck.js as it's used only for this particular context, and is too "dirty" to go to utils :)