logout now accepts an optional sequence parameter to disconnect a single session.