Add multithreading support but it seems slower. It has been disable.