If there is an error in __wt_block_open, don't call __wt_block_close or it will self-block.