adding some sleeps to reduce computing load