private static void ReleaseDataStore(ref DataHandle storeHandle) { if (storeHandle != null) { storeHandle.Close(); } storeHandle = null; }