added --max-time to curl so we fail quickly without network