support multi thread test