Added a time element to #waitUntil