fix session lost when session is not opened due to add exception (error 404 for instance)
Merge pull request #17 from ekino/fix_non_opened_session_on_exception

fix session lost when session is not opened due to add exception