rescue error due to internet connection