change try position, include session open and add handler method
fixed compile error
Merge branch 'master' into soar
remove duplicated handler on close
Merge remote-tracking branch 'origin/riversyang'