add a configurable option to change what command to run to check network connectivity