added absent network connection handling