Fix session closure bug
Merge remote-tracking branch 'origin/master'