Handle page load failure more gracefully