implementing page.stop()