stop proxy if not connected to wifi