sleep in lookup_ids