Avoid locking in queries after map closed.  Fixed bug in close.
Avoid locking in queries after map closed.  Fixed bug in close.

jacqueline-homan/Hopac,Hopac/Hopac,Hopac/Hopac,jacqueline-homan/Hopac,panesofglass/Hopac,panesofglass/Hopac