multi-thread: may crash after the first test