Handle exception when web resources is unavalable