Close the session before a new one