Add support for reason info on session end