Added a ping-check before adding in the apt-proxy