checking if internet connection is available before trying to sent time ...

@emmwe459