Adding an idle sleep delay to prevent CPU drain