docs for session close/delete