Put some backoff in the loop when checking for compactions. Incrementally wait longer between checks, maybe up to 3 seconds.