enable multiple thread in flush_details