#6680: add close session to load string