This fixes the NPE ocuured in the MediaControllerImplLegacy#connectToSession() right after MediaController#release() is called.