Fix release iobuf on open error