Pings a server, if there is no response then ping again at intervals, waiting for a response. When we get a response and previously had none we kill a process and open a website.