Moved url fetching to separate thread.