don't send delete session command when there's no session id
Merge branch 'close-session'