sleep instead waitUntil