Added code to handle exceptions thrown during http page fetch