hidding session immediatly after stop is called, preventing any other command from being executed
Merge pull request #4073 from sebv/session-hidding

Hidding session immediatly after stop is called,