Fix thread count when toggling Realtime.