style
reset session when finishing
re-read protocol spec, this seems to be more appropriate