Fix the session termination for browser stack
Merge pull request #8 from rainforestapp/feature/logging

Fix cloising the session for browser stack