Investigate issue 157 (unable to reproduce) - but also found and fixed issue with subsequent query if reader not fully closed down
Merge pull request #169 from StackExchange/fix_detached_head

Investigate issue 157 (unable to reproduce) - but also found and fixed i...