Wrap request statement for view, with try/except inside a while loop.