On error in wiredtiger_open, don't try to free buffers after closing the connection handle.