index handles lost connection