fix when access shared data from a datatable, the main thread paused