flush and don't swallow the IOException