closing the page on request timeout