try to add session end call back