Fix Flush

why do you need os.Exit now  isnt that implicit here ?