Remove direct flush when header is written