Add connected check