Flush stdout after printing info.