Close the session once we're done to prevent multiple sessions from
being opened.