add reuseSession switch
Merge pull request #988 from lzhan/testnum

add reuseSession switch