Working urls in separate thread after the event processing is finished