Use sleep_until instead of sleep_for