add session close event and auto remove session from server and channel when session close