Catch xbmc turned off error