Just curious. Is pinging alone enough to keep the connection alive? I have asked vedant to improve the script because in its current version it is hitting Google's public dns server way too frequently which is not supposed to be nice behavior and would be considered a DDoS attack if lots of computers start doing it.