connection detector