refact url fetcher
add fetcher test
bug fix for url fetcher
bug fix for while
bugfix for mysql conn go away
bugfix queue thread