'Close the session on the server'

def close_session(self):

    if (self._session is not None):
        url = ('%s/sessions/v1/%s' % (self._base, self._session))
        self._do_delete(url)
        self._session = None
