Fixed ClosedSession Bug