using manual thread intead of threadpool to fix avls/sql access to slow