Log and waiting for ES Shutdown when using Memory type