- Close correctly the SessionX on failure