Run vacuum only if threshold is exceeded