os.Stdout.Sync in example to ensure Example works as expected