Flush stdout buffer in stortidx