Add a delay to the wait_for