use 4 threads for export-all function