tsan: call fflush(0) on exit again