MAXRETRIES
if (retries++ < MAXRETRIES) {
const int MAXRETRIES = 4;
if (nbusypages && retry++ < MAXRETRIES) {