Sleep inside orders/shipments_spec to also wait for an API response