issue: 425405 in case session close failed, server session won't be marked as closed

Change-Id: I5e2953da3d611977131f4b3526a8b5f5b64b9101
issue: 420849 remove ptrSesSession (use only getId() since they are the same)

Change-Id: Ib17358926484bd81858c66cb8057af029a00d5e2