Little program to monitor a network connection