@Override
        public boolean done() {
          return fproxy.getHARegionQueue().size() == 0;
        }
wait for queues to drain in the server
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/InterestListDUnitTest.java