made the connection indicator more reliable