Use CURL to check for ES shutdown