Keeping tornado IOLoop alive while there are still URLs enqueued.