In truncate, release the btree handle before calling __wt_conn_dhandle_close_all.