dealing with loss of connectivity errors