prevent multiple restarts of xbmc during apt-get operations