There is a possibility that while iterating through a list of threads, the threads finish by themselves, making a list of exec_env invalid.
There is a possibility that while iterating through a list of threads, the threads finish by themselves, making a list of exec_env invalid.