have ShutdownEventListener handle WM_CLOSE or SIGTERM