Fix end session 1

Signed-off-by: Itai Koren <itkoren@gmail.com>