check lost connection