Moved session leaving to

before session finding