use threadpool to call access sql/avls/xml_parse function