fix some chromecastShutdown issues