@Override
    public void destroy() throws CacheWriterException {
      try {
        super.destroy();
      } finally {
        synchronized (permitMon) {
          permitMon.notifyAll(); // fix for bug 37581
        }
      }
    }
@param hrqa HARegionQueueAttributes through which expiry time etc for the HARegionQueue can
       be set
@param isPrimary whether this is the primary queue for a client
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java