private void deactivate(int index) { var activeSub = ActiveSub.find(_subs[index]); if (activeSub == null) return; activeSub.close(); }