Fix rare failures of AbstractQueueTest::testPushPopOrder()