hack to determine when internet comes back