416577 enhanced shutdown handler to send shutdown at startup