making sure res.send doesnt get called more than once if page.evaluate takes longer than expected