implements #947, free osrm-datastore's shared memory