3401495:Fix memory leak in multi_kv_close_test