Flush the output buffer