crawler.teardown()
but it cant be executed inside a handler,await crawler.run()
just crawler.run()
and then teardown
when you condition or event will be handled by your own code outside of crawlerreturn;
suffice? since we anwyays dont return anything and just enqueue links.