remove flush hook cruft that was never used from stdio