fixing tests
mitigating against redundant/late session closing
Merge pull request #2624 from sebv/master

Fixing remaining ios71 tests