You have closed the session correctly