Use gdal.Open() instead of gdal.OpenShared() and pool datasets
Fixed multi-threading issue