Finish session handling