[vdr] Centralized 'thread active' handling