[curl] How can I run multiple curl requests processed sequentially?