Script does not die if no internet