Flush stdout after every command