disable write to fd stream