Added connected threshold.