System.out.println("Starting now");
while (timeout > System.currentTimeMillis() && queue.getPageSubscription().isPaging())
{
Thread.sleep(100);
// Force what would happen on an expire
queue.expireReferences();
}
try
{
assertFalse(queue.getPageSubscription().isPaging());