using shared pycurl handle