Re-using existing session for tile grid lookup.

This doesn't seem to manfiest itself on Linux but on OSX (and I can only assume windows) opening a second connection causes a locking issue. While this maybe a deeper issue simply re-using the open connection solves it for at least the test cases.