using a single curl handle instead of recreating it on every request