set up cURL handle only once instead of each time