alert and reconnect for lost connections