bugfix: do not check twice the session

Signed-off-by: Lucian Cojocar <cojocar@gmail.com>
Acked-by: Calin Iorgulescu <calin.iorgulescu@gmail.com>
Merge pull request #61 from cojocar/bugfix-twice-check

bugfix: do not check twice the session