Make sure to close the session.