debug sleep in run loop