Add a sleep to simulate slow page load